﻿
function setMarkerGoogleBuzz(m_lat, m_lng, m_name, m_icon, m_title, m_address, m_placeName){
    var latlng = new google.maps.LatLng(m_lat, m_lng);
   
    var marker = new google.maps.Marker({
        icon: "iconFavourite.png",
        map: map,
        position: latlng,
        title: m_name        
    });
    m_googleBuzzMarker.push(marker);
    
    var m_content = "<div><b>" + m_name + "<b>,write: <br />" + 
                           "<font color=\"blue\">" + m_title + "</font><br/>" + 
                           "<img src=\"" + m_icon + "\" width=\"128px\ height=\"128px\" /><br />" + 
                           m_placeName + "," + m_address + "</div>";
    var infoWindow = new google.maps.InfoWindow({
        content: m_content
    });
    
    google.maps.event.addListener(marker, 'click', function() {
        infoWindow.open(map, marker);
    });
}
